#!/bin/bash

exec_path=$(dirname "$0")

cd ${exec_path}

mkdir -p bin data conf script

# git clone https://github.com/gaoyuan98/dameng_exporter.git

wget https://github.com/gaoyuan98/dameng_exporter/releases/download/v1.1.6/dameng_exporter_v1.1.6_linux_amd64.tar.gz


if [ -f dameng_exporter_v1.1.6_linux_amd64.tar.gz ];then
    tar -zxvf dameng_exporter_v1.1.6_linux_amd64.tar.gz -C ./bin
fi

